package com.vivien.example.springbootdemo.service;

import com.vivien.example.springbootdemo.dao.OrderDao;
import com.vivien.example.springbootdemo.dao.PersonDao;
import com.vivien.example.springbootdemo.pojo.Order;
import com.vivien.example.springbootdemo.pojo.OrderRequest;
import com.vivien.example.springbootdemo.pojo.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PersonService {
    @Autowired
    private PersonDao personDao;

    public List<Person> getPersonList(List<String> identifyNoList){
        List<Person> data = personDao.getPersonList(identifyNoList);

        // 映射人名，再次执行sql
        return data;
    }
}
